home *** CD-ROM | disk | FTP | other *** search
/ Pascal Super Library / Pascal Super Library (CW International)(1997).bin / MLT_TASK / ONCE / README.TXT < prev   
Text File  |  1995-02-12  |  806b  |  16 lines

  1. Here's the source for ONCE - a windows utility that starts other apps and then will switch to that instance rather than starting a new instance. The command line for ONCE is 
  2. ONCE ininame 
  3. where ininame is the name of a standard windows ini file with the following information
  4.    [PARAMETERS]
  5.    AppFileName=file name of app to run - including path
  6.    AppTitle= the name to appear on the Title bar*
  7.    WorkingDir=path for working directory*
  8.    IconFile=file name and path of icon file*
  9.    IconNumber=index of icon in icon file 0=first*
  10.  
  11. * the last four parameters are only required for DOS apps.
  12.   Windows apps ignore them.
  13.  
  14. This program is useful for new users and in our company's case where two instances of a DOS comm app crash and it is critical to avoid starting the second instance.
  15.  
  16.